package com.dnjn.happiness.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.biz.domain.Moments;

import java.util.List;

/**
 * <p>
 * 圈子 服务类
 * </p>
 *
 * @author Amber
 * @since 2023-10-04
 */
public interface IMomentsService extends IService<Moments> {

    Moments createDomain(Moments domain);

    List<String> selectImageUrlByMomentsId(Long momentsId);

    Moments getOneById(Long id);

    Page<Moments> selectPageX(Moments domain, Page page);

    Integer selectCount(Long userId);
}
